home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earkit / mail / thor / thorapi_asm.lha / thorapi_asm / includes / libraries / BBSReadTags.i < prev   
Text File  |  1997-03-17  |  23KB  |  625 lines

  1.     IFND    LIBRARIES_BBSREADTAGS_I
  2. LIBRARIES_BBSREADTAGS_I SET 1
  3.  
  4. **
  5. **  From version: BBSReadTags.h 4.1 (18.06.95)
  6. ** 
  7. **  BBSRead tag definitions.
  8. **
  9. **  © Copyright 1994 Ultima Thule Software
  10. **  All Rights Reserved.
  11. **
  12. **  Author: Eivind Nordseth
  13. **
  14. **-------------------------------------------------------------------
  15. **
  16. **  Assembler (.i) includes translated by Kenneth "Kenny" Nilsen
  17. **  $VER: BBSReadTags.i 1.0 (17.3.97)
  18. **
  19. **  Eivind: The TAB settings were way out of line! ;)
  20. **
  21. **-------------------------------------------------------------------
  22.  
  23.     IFND    EXEC_TYPES_I
  24.     INCLUDE    "exec/types.i"
  25.     ENDC
  26.  
  27.     IFND    UTILITY_TAGITEM_I
  28.     INCLUDE    "utility/tagitem.i"
  29.     ENDC
  30.  
  31. * Tag modifers
  32.  
  33. BR_TagBase    EQU    TAG_USER        * Base for normal tags
  34. BR_MsgTags    EQU    $10000+TAG_USER        * Base for message tags
  35. BR_EventTags    EQU    $20000+TAG_USER        * Base for event tags
  36. BR_UserTags    EQU    $30000+TAG_USER        * Base for user tags
  37. BR_FileTags    EQU    $40000+TAG_USER        * Base for file tags
  38. BR_KillTags    EQU    $50000+TAG_USER        * Base for kill tags
  39.  
  40. BR_TagVarPar    EQU    $20000000        * Tagitem points to data to be set/changed
  41. BR_TagTagArr    EQU    BR_TagVarPar        * Tagitem points to a tag array. Used only
  42.                         * by tags saved in database.
  43. BR_TagString    EQU    $40000000        * Tagitem is a STRPTR
  44. BR_TagStringArr    EQU    $20000000!$40000000    * Tagitem points to an array of STRPTR
  45.  
  46.  
  47. *  Tags understood by ConfigBBS
  48.  
  49. BC_BBSList        EQU    (BR_TagBase + BR_TagVarPar + 1)
  50. BC_BBSName        EQU    (BR_TagBase + BR_TagString + 2)
  51. BC_GrabName        EQU    (BR_TagBase + BR_TagString + 3)
  52. BC_BBSType        EQU    (BR_TagBase + BR_TagString + 4)
  53. BC_UserName        EQU    (BR_TagBase + BR_TagString + 5)
  54. BC_DeleteBBS        EQU    (BR_TagBase                + 6)
  55. BC_ScriptFlags        EQU    (BR_TagBase                + 7)
  56. BC_Signature        EQU    (BR_TagBase + BR_TagString + 8)
  57. BC_Top            EQU    (BR_TagBase                + 9)
  58. BC_Bottom        EQU    (BR_TagBase                + 10)    
  59. BC_Up            EQU    (BR_TagBase                + 11)
  60. BC_Down            EQU    (BR_TagBase                + 12)
  61. BC_SortBBSList        EQU    (BR_TagBase                + 13)
  62. BC_KeepMessages        EQU    (BR_TagBase                + 14)
  63. BC_KeepTime        EQU    (BR_TagBase                + 15)
  64. BC_SetBBSFlags        EQU    (BR_TagBase                + 16)    
  65. BC_ClearBBSFlags    EQU    (BR_TagBase                + 17)    
  66. BC_EMailAddr        EQU    (BR_TagBase + BR_TagString + 18)
  67. BC_XpkMethod        EQU    (BR_TagBase + BR_TagString + 19)
  68. BC_CharSet        EQU    (BR_TagBase                + 20)
  69. BC_LineLength        EQU    (BR_TagBase                + 21)
  70. BC_UserStreet        EQU    (BR_TagBase + BR_TagString + 22)
  71. BC_UserAddress        EQU    (BR_TagBase + BR_TagString + 23)
  72. BC_UserCountry        EQU    (BR_TagBase + BR_TagString + 24)
  73. BC_UserPhone        EQU    (BR_TagBase + BR_TagString + 25)
  74. BC_Alias        EQU    (BR_TagBase + BR_TagString + 26)
  75. BC_DnloadPath        EQU    (BR_TagBase + BR_TagString + 27)
  76. BC_TagFile        EQU    (BR_TagBase + BR_TagString + 28)
  77. BC_EventArchiver    EQU    (BR_TagBase + BR_TagString + 29)
  78. BC_ReplyPacket        EQU    (BR_TagBase + BR_TagString + 30)
  79. BC_UploadPath        EQU    (BR_TagBase + BR_TagString + 31)
  80. BC_NewBBSOrder        EQU    (BR_TagBase +              + 32)
  81. BC_QuoteType        EQU    (BR_TagBase +              + 33)
  82. BC_QuoteChars        EQU    (BR_TagBase + BR_TagString + 34)
  83. BC_ReplyString        EQU    (BR_TagBase + BR_TagString + 35)
  84. BC_BBSEnterScript    EQU    (BR_TagBase + BR_TagString + 36)
  85. BC_BBSLeaveScript    EQU    (BR_TagBase + BR_TagString + 37)
  86. BC_ConfEnterScript    EQU    (BR_TagBase + BR_TagString + 38)
  87. BC_ConfLeaveScript    EQU    (BR_TagBase + BR_TagString + 39)
  88.  
  89.  
  90. *  Tags understood by ConfigConf()
  91.  
  92. CC_ConfList        EQU    (BR_TagBase + BR_TagVarPar + 101)    
  93. CC_AddToBBS        EQU    (BR_TagBase + BR_TagVarPar + 102)    
  94. CC_ConfName        EQU    (BR_TagBase + BR_TagString + 103)    
  95. CC_SetConfFlags        EQU    (BR_TagBase                + 104)    
  96. CC_ClearConfFlags    EQU    (BR_TagBase                + 105)    
  97. CC_DeleteConf        EQU    (BR_TagBase                + 106)
  98. CC_Signature        EQU    (BR_TagBase + BR_TagString + 107)
  99. CC_KeepMessages        EQU    (BR_TagBase                + 108)
  100. CC_KeepTime        EQU    (BR_TagBase                + 109)
  101. CC_Top            EQU    (BR_TagBase                + 110)
  102. CC_Bottom        EQU    (BR_TagBase                + 111)    
  103. CC_Up            EQU    (BR_TagBase                + 112)
  104. CC_Down            EQU    (BR_TagBase                + 113)
  105. CC_Alias        EQU    (BR_TagBase + BR_TagString + 114)
  106. CC_BBSConfNr        EQU    (BR_TagBase                + 115)
  107. CC_SortConfList        EQU    (BR_TagBase                + 116)
  108. CC_XpkMethod        EQU    (BR_TagBase + BR_TagString + 117)
  109. CC_CharSet        EQU    (BR_TagBase                + 118)
  110. CC_LineLength        EQU    (BR_TagBase                + 119)
  111. CC_TagFile        EQU    (BR_TagBase + BR_TagString + 120)
  112. CC_EmailAddr        EQU    (BR_TagBase + BR_TagString + 121)
  113. CC_NewConfOrder        EQU    (BR_TagBase                + 122)
  114. CC_QuoteType        EQU    (BR_TagBase +              + 123)
  115. CC_QuoteChars        EQU    (BR_TagBase + BR_TagString + 124)
  116. CC_ReplyString        EQU    (BR_TagBase + BR_TagString + 125)
  117. CC_ConfEnterScript    EQU    (BR_TagBase + BR_TagString + 126)
  118. CC_ConfLeaveScript    EQU    (BR_TagBase + BR_TagString + 127)
  119. CC_ConfNetType        EQU    (BR_TagBase +              + 128)
  120.  
  121.  
  122. *  Tags understood by MarkMessage()
  123.  
  124. MM_MarkMessage        EQU    (BR_TagBase                + 401)
  125. MM_MarkArray        EQU    (BR_TagBase + BR_TagVarPar + 402)
  126. MM_UnMarkMessage    EQU    (BR_TagBase                + 403)
  127. MM_UnMarkArray        EQU    (BR_TagBase + BR_TagVarPar + 404)
  128. MM_Reset        EQU    (BR_TagBase                + 405)
  129. MM_MineFirst        EQU    (BR_TagBase                + 406)
  130. MM_Reference        EQU    (BR_TagBase                + 407)
  131. MM_ToAllFirst        EQU    (BR_TagBase                + 408)
  132. MM_SortByMsgNumbers    EQU    (BR_TagBase                + 409)
  133. MM_GroupSubject        EQU    (BR_TagBase                + 410)
  134. MM_Reverse        EQU    (BR_TagBase                + 411)
  135. MM_SuperMarking        EQU    (BR_TagBase                + 412)
  136.  
  137.  
  138. *  Tags understood by ConfigType()
  139.  
  140. CT_DeleteType        EQU    (BR_TagBase                + 601)
  141. CT_TypeList        EQU    (BR_TagBase + BR_TagVarPar + 602)
  142. CT_TypeName        EQU    (BR_TagBase + BR_TagString + 603)
  143. CT_LineLength        EQU    (BR_TagBase                + 604)
  144. CT_SubjectLength    EQU    (BR_TagBase                + 605)
  145. CT_FileDescrLen        EQU    (BR_TagBase                + 606)
  146. CT_DeleteEvent        EQU    (BR_TagBase                + 607)
  147. CT_ConfigEvent        EQU    (BR_TagBase                + 608)
  148. CT_EventNeedTags    EQU    (BR_TagBase                + 609)
  149. CT_EventOptTags        EQU    (BR_TagBase                + 610)
  150. CT_CharSet        EQU    (BR_TagBase                + 611)
  151. CT_MsgParser        EQU    (BR_TagBase + BR_TagString + 612)    
  152. CT_AvailScrFlags    EQU    (BR_TagBase                + 613)
  153. CT_FileNameLen        EQU    (BR_TagBase                + 614)
  154. CT_EventPacker        EQU    (BR_TagBase + BR_TagString + 615)
  155. CT_EventArchiver    EQU    (BR_TagBase + BR_TagString + 616)
  156. CT_SetTypeFlags        EQU    (BR_TagBase                + 617)
  157. CT_ClearTypeFlags    EQU    (BR_TagBase                + 618)
  158. CT_AcceptPattern    EQU    (BR_TagBase + BR_TagString + 619)
  159. CT_InitMsgFile        EQU    (BR_TagBase + BR_TagString + 620)
  160. CT_ExtConfig        EQU    (BR_TagBase + BR_TagString + 621)
  161. CT_QuoteType        EQU    (BR_TagBase                + 622)
  162.  
  163.  
  164. *  Tags understood by PackDataFile()
  165.  
  166. PD_EventData        EQU    (BR_TagBase + BR_TagVarPar + 801)
  167. PD_Conference        EQU    (BR_TagBase + BR_TagVarPar + 802)
  168. PD_UserData        EQU    (BR_TagBase + BR_TagVarPar + 803)
  169. PD_KillData        EQU    (BR_TagBase + BR_TagVarPar + 804)
  170. PD_FileData        EQU    (BR_TagBase + BR_TagVarPar + 805)
  171. PD_SavePackedBRIEF    EQU    (BR_TagBase + BR_TagString + 806)
  172.  
  173.  
  174. *  Tags understood by ConfigGlobal()
  175.  
  176. CG_DnloadPath        EQU    (BR_TagBase + BR_TagString + 1001)
  177. CG_UploadPath        EQU    (BR_TagBase + BR_TagString + 1002)
  178. CG_Buffers        EQU    (BR_TagBase                + 1004)
  179. CG_BufferSize        EQU    (BR_TagBase                + 1005)
  180. CG_HitRate        EQU    (BR_TagBase + BR_TagVarPar + 1007)
  181. CG_ConfigArchiver    EQU    (BR_TagBase + BR_TagString + 1008)
  182. CG_ArcPattern        EQU    (BR_TagBase + BR_TagString + 1009)
  183. CG_UnArcCmd        EQU    (BR_TagBase + BR_TagString + 1010)
  184. CG_ArcCmd        EQU    (BR_TagBase + BR_TagString + 1011)
  185. CG_DeleteArchiver    EQU    (BR_TagBase + BR_TagString + 1012)
  186. CG_Signature        EQU    (BR_TagBase + BR_TagString + 1013)
  187. CG_KeepMessages        EQU    (BR_TagBase                + 1014)
  188. CG_KeepTime        EQU    (BR_TagBase                + 1015)
  189. CG_SetGlobalFlags    EQU    (BR_TagBase                + 1016)    
  190. CG_ClearGlobalFlags    EQU    (BR_TagBase                + 1017)    
  191. CG_XpkMethod        EQU    (BR_TagBase + BR_TagString + 1018)
  192. CG_UserPhone        EQU    (BR_TagBase + BR_TagString + 1019)
  193. CG_TmpDir        EQU    (BR_TagBase + BR_TagString + 1020)
  194. CG_TagFile        EQU    (BR_TagBase + BR_TagString + 1021)
  195. CG_BufCopyBack        EQU    (BR_TagBase                + 1022)
  196. CG_BufEndCopyBack    EQU    (BR_TagBase                + 1023)
  197. CG_ReadHitRate        EQU    (BR_TagBase + BR_TagVarPar + 1024)
  198. CG_WriteHitRate        EQU    (BR_TagBase + BR_TagVarPar + 1025)
  199. CG_ClearHitRate        EQU    (BR_TagBase                + 1026)
  200. CG_HazeLevel1        EQU    (BR_TagBase                + 1027)
  201. CG_HazeLevel2        EQU    (BR_TagBase                + 1028)
  202. CG_HazeLevel3        EQU    (BR_TagBase                + 1029)
  203. CG_PGPCommand        EQU    (BR_TagBase + BR_TagString + 1030)
  204. CG_PGPSignID        EQU    (BR_TagBase + BR_TagString + 1031)
  205. CG_QuoteChars        EQU    (BR_TagBase + BR_TagString + 1032)
  206. CG_ReplyString        EQU    (BR_TagBase + BR_TagString + 1033)
  207. CG_StartupScript    EQU    (BR_TagBase + BR_TagString + 1034)
  208. CG_QuitScript        EQU    (BR_TagBase + BR_TagString + 1035)
  209. CG_BBSEnterScript    EQU    (BR_TagBase + BR_TagString + 1036)
  210. CG_BBSLeaveScript    EQU    (BR_TagBase + BR_TagString + 1037)
  211. CG_ConfEnterScript    EQU    (BR_TagBase + BR_TagString + 1038)
  212. CG_ConfLeaveScript    EQU    (BR_TagBase + BR_TagString + 1039)
  213. CG_BufFreeAllocated    EQU    (BR_TagBase                + 1040)
  214.  
  215.  
  216. *  Tags understood by UpdateDataStruct()
  217.  
  218. UD_ConfList        EQU    (BR_TagBase + BR_TagVarPar + 1101)
  219. UD_ConfItem        EQU    (BR_TagBase + BR_TagVarPar + 1102)
  220. UD_BBSList        EQU    (BR_TagBase + BR_TagVarPar + 1103)
  221. UD_BBSItem        EQU    (BR_TagBase + BR_TagVarPar + 1104)
  222. UD_FAreaList        EQU    (BR_TagBase + BR_TagVarPar + 1105)
  223. UD_FAreaItem        EQU    (BR_TagBase + BR_TagVarPar + 1106)
  224. UD_RemoveDeleted    EQU    (BR_TagBase + BR_TagVarPar + 1107)
  225.  
  226.  
  227. * Tags understood by Archive()
  228.  
  229. AR_AddFile        EQU    (BR_TagBase + BR_TagString + 1301)
  230. AR_SourceDir        EQU    (BR_TagBase + BR_TagString + 1302)
  231.  
  232.  
  233. * Tags understood by MakeEventPackage()
  234.  
  235. EP_PublicScreen        EQU    (BR_TagBase + BR_TagString + 1401)
  236.  
  237.  
  238. * Tags understood by ParseGrab()
  239.  
  240. PG_PublicScreen        EQU    (BR_TagBase + BR_TagString + 1501)
  241. PG_RequestWindow    EQU    (BR_TagBase + BR_TagVarPar + 1502)
  242.  
  243.  
  244. *  Tags understood by UnArchive()
  245.  
  246. UA_RetrieveFile        EQU    (BR_TagBase + BR_TagString + 1701)
  247. UA_DestDir        EQU    (BR_TagBase + BR_TagString + 1702)
  248. UA_ArchiverUsed        EQU    (BR_TagBase + BR_TagVarPar + 1703)
  249.  
  250.  
  251. *  Tags understood by SearchConf()
  252.  
  253. SC_FindString        EQU    (BR_TagBase + BR_TagString + 1801)
  254. SC_FromMessage        EQU    (BR_TagBase                + 1802)
  255. SC_ToMessage        EQU    (BR_TagBase                + 1803)
  256. SC_FromUser        EQU    (BR_TagBase + BR_TagString + 1804)
  257. SC_ToUser        EQU    (BR_TagBase + BR_TagString + 1805)
  258. SC_SearchSubject    EQU    (BR_TagBase                + 1806)
  259. SC_SearchMessage    EQU    (BR_TagBase                + 1807)
  260. SC_MessageArray        EQU    (BR_TagBase + BR_TagVarPar + 1808)
  261. SC_ToAll        EQU    (BR_TagBase                + 1809)
  262. SC_KeptMessages        EQU    (BR_TagBase                + 1810)
  263. SC_NewerThan        EQU    (BR_TagBase                + 1811)
  264. SC_OlderThan        EQU    (BR_TagBase                + 1812)
  265. SC_SearchComment    EQU    (BR_TagBase                + 1813)
  266.  
  267.  
  268. * Message fields 
  269. MSG_FromName        EQU    0    * Saved with the message header
  270. MSG_FromAddr        EQU    1
  271. MSG_ToName        EQU    2
  272. MSG_ToAddr        EQU    3
  273. MSG_MsgID        EQU    4
  274. MSG_OrginalNr        EQU    5
  275. MSG_RefID        EQU    6
  276. MSG_RefNr        EQU    7
  277. MSG_CreationDate    EQU    8
  278. MSG_CreationDateTxt    EQU    9
  279. MSG_Subject        EQU    10
  280.  
  281. MSG_ReplyConf        EQU    11    * Not saved with the message header
  282. MSG_ReplyName        EQU    12
  283. MSG_ReplyAddr        EQU    13
  284. MSG_Comment        EQU    14
  285. MSG_Text        EQU    15
  286. MSG_BinaryPart        EQU    16
  287. MSG_BinaryPartDesc    EQU    17
  288. MSG_BinaryPartComment    EQU    18
  289. MSG_TextPart        EQU    19
  290. MSG_TextPartComment    EQU    20
  291. MSG_MsgPart        EQU    21
  292.  
  293.  
  294. *  Message Tags
  295.  
  296. BRMSG_FromName        EQU    (BR_MsgTags + BR_TagString    + MSG_FromName)
  297. BRMSG_FromAddr        EQU    (BR_MsgTags + BR_TagString    + MSG_FromAddr)
  298. BRMSG_ToName        EQU    (BR_MsgTags + BR_TagString    + MSG_ToName)
  299. BRMSG_ToAddr        EQU    (BR_MsgTags + BR_TagString    + MSG_ToAddr)
  300. BRMSG_MsgID        EQU    (BR_MsgTags + BR_TagString    + MSG_MsgID)
  301. BRMSG_OrginalNr        EQU    (BR_MsgTags                   + MSG_OrginalNr)
  302. BRMSG_RefID        EQU    (BR_MsgTags + BR_TagString    + MSG_RefID)
  303. BRMSG_RefNr        EQU    (BR_MsgTags                   + MSG_RefNr)
  304. BRMSG_CreationDate    EQU    (BR_MsgTags                   + MSG_CreationDate)
  305. BRMSG_CreationDateTxt    EQU    (BR_MsgTags + BR_TagString    + MSG_CreationDateTxt)
  306. BRMSG_Subject        EQU    (BR_MsgTags + BR_TagString    + MSG_Subject)
  307. BRMSG_ReplyConf        EQU    (BR_MsgTags + BR_TagString    + MSG_ReplyConf)
  308. BRMSG_ReplyName        EQU    (BR_MsgTags + BR_TagString    + MSG_ReplyName)
  309. BRMSG_ReplyAddr        EQU    (BR_MsgTags + BR_TagString    + MSG_ReplyAddr)
  310. BRMSG_Comment        EQU    (BR_MsgTags + BR_TagStringArr + MSG_Comment)
  311. BRMSG_Text        EQU    (BR_MsgTags + BR_TagStringArr + MSG_Text)
  312. BRMSG_BinaryPart    EQU    (BR_MsgTags + BR_TagString    + MSG_BinaryPart)
  313. BRMSG_BinaryPartDesc    EQU    (BR_MsgTags + BR_TagString    + MSG_BinaryPartDesc)
  314. BRMSG_BinaryPartComment    EQU    (BR_MsgTags + BR_TagStringArr + MSG_BinaryPartComment)
  315. BRMSG_TextPart        EQU    (BR_MsgTags + BR_TagStringArr + MSG_TextPart)
  316. BRMSG_TextPartComment    EQU    (BR_MsgTags + BR_TagStringArr + MSG_TextPartComment)
  317. BRMSG_MsgPart        EQU    (BR_MsgTags + BR_TagTagArr    + MSG_MsgPart)
  318.  
  319.  
  320. *  Tags understood by WriteBRMessage()
  321.  
  322. WBRMSG_MarkMessage    EQU    (BR_TagBase + 2000)
  323. WBRMSG_Private        EQU    (BR_TagBase + 2001)
  324. WBRMSG_Read        EQU    (BR_TagBase + 2002)
  325. WBRMSG_Urgent        EQU    (BR_TagBase + 2003)
  326. WBRMSG_Important    EQU    (BR_TagBase + 2004)
  327. WBRMSG_Confidential    EQU    (BR_TagBase + 2005)
  328. WBRMSG_ToFromUserStatus    EQU    (BR_TagBase + 2006)
  329.  
  330.  
  331. *  Tags understood by ReadBRMessage()
  332.  
  333. RBRMSG_MsgTagsPtr    EQU    (BR_TagBase + BR_TagVarPar + 2100)
  334. RBRMSG_MsgDate        EQU    (BR_TagBase + BR_TagVarPar + 2101)
  335. RBRMSG_Reference    EQU    (BR_TagBase + BR_TagVarPar + 2102)
  336. RBRMSG_FirstRef        EQU    (BR_TagBase + BR_TagVarPar + 2103)
  337. RBRMSG_LastRef        EQU    (BR_TagBase + BR_TagVarPar + 2104)
  338. RBRMSG_PrevRef        EQU    (BR_TagBase + BR_TagVarPar + 2105)
  339. RBRMSG_NextRef            EQU    (BR_TagBase + BR_TagVarPar + 2106)
  340. RBRMSG_Flags        EQU    (BR_TagBase + BR_TagVarPar + 2107)
  341. RBRMSG_GetHeader    EQU    (BR_TagBase                + 2108)
  342. RBRMSG_GetText        EQU    (BR_TagBase                + 2109)
  343.  
  344.  
  345. * Event fields
  346. EV_ToName        EQU    0
  347. EV_ToAddr        EQU    1
  348. EV_Subject        EQU    2
  349. EV_Conference        EQU    3
  350. EV_RefNr        EQU    4
  351. EV_RefOrginalNr        EQU    5
  352. EV_RefId        EQU    6
  353. EV_MsgFile        EQU    7
  354. EV_Private        EQU    8
  355. EV_LocalFile        EQU    9
  356. EV_Directory        EQU    10
  357. EV_FileName        EQU    11
  358. EV_DownloadNotify    EQU    12
  359. EV_FileDescr        EQU    13
  360. EV_DetailedFileDescr    EQU    14
  361. EV_FromMessageNr    EQU    15
  362. EV_ToMessageNr        EQU    16
  363. EV_CommandString    EQU    17
  364. EV_Boolean        EQU    18
  365. EV_Date            EQU    19
  366. EV_PGPSignID        EQU    20
  367. EV_PGPEncryptID        EQU    21
  368. EV_RefConference    EQU    22
  369. EV_Urgent        EQU    23
  370. EV_Important        EQU    24
  371. EV_Confidential        EQU    25
  372. EV_ReturnReceipt    EQU    26
  373. EV_Encode8bit        EQU    27
  374.  
  375.  
  376. *  Event Tags
  377. BREV_ToName        EQU    (BR_EventTags + BR_TagString + EV_ToName)
  378. BREV_ToAddr        EQU    (BR_EventTags + BR_TagString + EV_ToAddr)
  379. BREV_Subject        EQU    (BR_EventTags + BR_TagString + EV_Subject)
  380. BREV_Conference        EQU    (BR_EventTags + BR_TagString + EV_Conference)
  381. BREV_RefNr        EQU    (BR_EventTags                + EV_RefNr)
  382. BREV_RefOrginalNr    EQU    (BR_EventTags                + EV_RefOrginalNr)
  383. BREV_RefId        EQU    (BR_EventTags + BR_TagString + EV_RefId)
  384. BREV_MsgFile        EQU    (BR_EventTags + BR_TagString + EV_MsgFile)
  385. BREV_Private        EQU    (BR_EventTags                + EV_Private)
  386. BREV_LocalFile        EQU    (BR_EventTags + BR_TagString + EV_LocalFile)
  387. BREV_Directory        EQU    (BR_EventTags + BR_TagString + EV_Directory)
  388. BREV_FileName        EQU    (BR_EventTags + BR_TagString + EV_FileName)
  389. BREV_DownloadNotify    EQU    (BR_EventTags                + EV_DownloadNotify)
  390. BREV_FileDescr        EQU    (BR_EventTags + BR_TagString + EV_FileDescr)
  391. BREV_DetailedFileDescr    EQU    (BR_EventTags + BR_TagString + EV_DetailedFileDescr)
  392. BREV_FromMessageNr    EQU    (BR_EventTags                + EV_FromMessageNr)
  393. BREV_ToMessageNr    EQU    (BR_EventTags                + EV_ToMessageNr)
  394. BREV_CommandString    EQU    (BR_EventTags + BR_TagString + EV_CommandString)
  395. BREV_Boolean        EQU    (BR_EventTags                + EV_Boolean)
  396. BREV_Date        EQU    (BR_EventTags                + EV_Date)
  397. BREV_PGPSignID        EQU    (BR_EventTags + BR_TagString + EV_PGPSignID)
  398. BREV_PGPEncryptID    EQU    (BR_EventTags + BR_TagString + EV_PGPEncryptID)
  399. BREV_RefConference    EQU    (BR_EventTags + BR_TagString + EV_RefConference)
  400. BREV_Urgent        EQU    (BR_EventTags                + EV_Urgent)
  401. BREV_Important        EQU    (BR_EventTags                + EV_Important)
  402. BREV_Confidential    EQU    (BR_EventTags                + EV_Confidential)
  403. BREV_ReturnReceipt    EQU    (BR_EventTags                + EV_ReturnReceipt)
  404. BREV_Encode8bit        EQU    (BR_EventTags                + EV_Encode8bit)
  405.  
  406.  
  407. *  Tags understood by WriteBREvent()
  408.  
  409. WBREV_UpdateEventNr     EQU    (BR_TagBase + 2200)
  410.  
  411.  
  412. *  Tags understood by ReadBREvent()
  413.  
  414. RBREV_EventTagsPtr    EQU    (BR_TagBase + BR_TagVarPar + 2300)
  415. RBREV_EventType        EQU    (BR_TagBase + BR_TagVarPar + 2301)
  416. RBREV_EventDate        EQU    (BR_TagBase + BR_TagVarPar + 2302)
  417. RBREV_Flags        EQU    (BR_TagBase + BR_TagVarPar + 2303)
  418.  
  419.  
  420. *  Tags understood by UpdateBRMessage()
  421.  
  422. UBRM_SetDelete        EQU    (BR_TagBase + 2400)
  423. UBRM_ClearDelete    EQU    (BR_TagBase + 2401)
  424. UBRM_SetKeep        EQU    (BR_TagBase + 2402)
  425. UBRM_ClearKeep        EQU    (BR_TagBase + 2403)
  426. UBRM_SetReplied        EQU    (BR_TagBase + 2404)
  427. UBRM_ClearReplied    EQU    (BR_TagBase + 2405)
  428. UBRM_SetUrgent        EQU    (BR_TagBase + 2406)
  429. UBRM_ClearUrgent    EQU    (BR_TagBase + 2407)
  430. UBRM_SetImportant    EQU    (BR_TagBase + 2408)
  431. UBRM_ClearImportant    EQU    (BR_TagBase + 2409)
  432. URBM_SetHazeLevel    EQU    (BR_TagBase + 2410)
  433. UBRM_SetConfidential    EQU    (BR_TagBase + 2411)
  434. UBRM_ClearConfidential    EQU    (BR_TagBase + 2412)
  435.  
  436.  
  437. *  Tags understood by UpdateBREvent()
  438.  
  439. UBRE_SetDeleted        EQU    (BR_TagBase + 2500)
  440. UBRE_ClearDeleted    EQU    (BR_TagBase + 2501)
  441. UBRE_SetPacked        EQU    (BR_TagBase + 2502)
  442. UBRE_ClearPacked    EQU    (BR_TagBase + 2503)
  443. UBRE_SetError        EQU    (BR_TagBase + 2504)
  444. UBRE_ClearError        EQU    (BR_TagBase + 2505)
  445. UBRE_SetDone        EQU    (BR_TagBase + 2506)
  446. UBRE_ClearDone        EQU    (BR_TagBase + 2507)
  447. UBRE_SetFreeze        EQU    (BR_TagBase + 2508)
  448. UBRE_ClearFreeze    EQU    (BR_TagBase + 2509)
  449. UBRE_Activate        EQU    (BR_TagBase + 2510)
  450.  
  451.  
  452. *  User fields
  453. USR_Name        EQU    0
  454. USR_Address        EQU    1
  455. USR_Alias        EQU    2
  456. USR_Comment        EQU    3
  457. USR_Encode8BitMsg    EQU    4
  458. USR_PGPkeyID        EQU    5
  459.  
  460.  
  461. *  User tags
  462. BRUSR_Name        EQU    (BR_UserTags + BR_TagString    + USR_Name)
  463. BRUSR_Address        EQU    (BR_UserTags + BR_TagString    + USR_Address)
  464. BRUSR_Alias        EQU    (BR_UserTags + BR_TagString    + USR_Alias)
  465. BRUSR_Comment        EQU    (BR_UserTags + BR_TagStringArr + USR_Comment)
  466. BRUSR_Encode8BitMsg    EQU    (BR_UserTags                   + USR_Encode8BitMsg)
  467. BRUSR_PGPkeyID        EQU    (BR_UserTags + BR_TagString    + USR_PGPkeyID)
  468.  
  469.  
  470. *  Tags understood by WriteBRUser()
  471.  
  472. WBRUSR_UpdateUserNr     EQU    (BR_TagBase + 2600)
  473. WBRUSR_DeleteUser    EQU    (BR_TagBase + 2601)
  474. WBRUSR_OnlyIfNotExist    EQU    (BR_TagBase + 2602)
  475.  
  476.  
  477. *  Tags understood by ReadBREvent()
  478.  
  479. RBRUSR_UserTagsPtr    EQU    (BR_TagBase + BR_TagVarPar + 2700)
  480. RBRUSR_UserDate        EQU    (BR_TagBase + BR_TagVarPar + 2701)
  481. RBRUSR_Flags        EQU    (BR_TagBase + BR_TagVarPar + 2702)
  482.  
  483.  
  484. * Tags understood by SearchBRUser()
  485.  
  486. SBRU_SearchStr        EQU    (BR_TagBase + BR_TagString + 2800)
  487. SBRU_SearchName        EQU    (BR_TagBase                + 2801)
  488. SBRU_SearchAddr        EQU    (BR_TagBase                + 2802)
  489. SBRU_SearchAlias    EQU    (BR_TagBase                + 2803)
  490. SBRU_SuggestUsers    EQU    (BR_TagBase + BR_TagVarPar + 2804)
  491. SBRU_SearchComment    EQU    (BR_TagBase                + 2805)
  492.  
  493.  
  494. *  Kill Tags
  495.  
  496. BRKILL_Conference    EQU    (BR_KillTags + BR_TagString + 0)
  497. BRKILL_Private        EQU    (BR_KillTags +              + 1)
  498.  
  499.  
  500. *  Tags understood by WriteBRKill()
  501.  
  502. WBRK_UpdateKillNr     EQU    (BR_TagBase + 3000)
  503. WBRK_DeleteKill        EQU    (BR_TagBase + 3001)
  504. WBRK_MarkKeep        EQU    (BR_TagBase + 3002)
  505. WBRK_MarkUrgent        EQU    (BR_TagBase + 3003)
  506. WBRK_MarkImportant    EQU    (BR_TagBase + 3004)
  507. WBRK_MarkHazeLevel    EQU    (BR_TagBase + 3005)
  508.  
  509.  
  510. *  Tags understood by ReadBRKill()
  511.  
  512. RBRK_KillTagsPtr    EQU    (BR_TagBase + BR_TagVarPar + 3100)
  513. RBRK_KillDate        EQU    (BR_TagBase + BR_TagVarPar + 3101)
  514. RBRK_LastKill        EQU    (BR_TagBase + BR_TagVarPar + 3102)
  515. RBRK_Flags        EQU    (BR_TagBase + BR_TagVarPar + 3103)
  516.  
  517.  
  518. * Tags understood by ConfigFArea()
  519.  
  520. CFA_DeleteFArea        EQU    (BR_TagBase                + 3200)
  521. CFA_FAreaList        EQU    (BR_TagBase + BR_TagVarPar + 3201)
  522. CFA_AddToBBS        EQU    (BR_TagBase + BR_TagVarPar + 3202)
  523. CFA_Name        EQU    (BR_TagBase + BR_TagString + 3203)
  524. CFA_Top            EQU    (BR_TagBase                + 3204)
  525. CFA_Bottom        EQU    (BR_TagBase                + 3205)
  526. CFA_Up            EQU    (BR_TagBase                + 3206)
  527. CFA_Down        EQU    (BR_TagBase                + 3207)
  528. CFA_SortFAreaList    EQU    (BR_TagBase                + 3208)
  529.  
  530.  
  531. *  File fields
  532. FILE_Name        EQU    0
  533. FILE_Date        EQU    1
  534. FILE_Size        EQU    2
  535. FILE_Description    EQU    3
  536. FILE_Downloads        EQU    4
  537.  
  538.  
  539. *  file tags
  540. BRFILE_Name        EQU    (BR_FileTags + BR_TagString    + FILE_Name)
  541. BRFILE_Date        EQU    (BR_FileTags                   + FILE_Date)
  542. BRFILE_Size        EQU    (BR_FileTags                   + FILE_Size)
  543. BRFILE_Description    EQU    (BR_FileTags + BR_TagStringArr + FILE_Description)
  544. BRFILE_Downloads    EQU    (BR_FileTags                   + FILE_Downloads)
  545.  
  546.  
  547. *  Tags understood by WriteBRFile()
  548.  
  549. WBRF_UpdateFileNr     EQU    (BR_TagBase + 3300)
  550. WBRF_DeleteFile        EQU    (BR_TagBase + 3301)
  551.  
  552.  
  553. *  Tags understood by ReadBRFile()
  554.  
  555. RBRF_FileTagsPtr    EQU    (BR_TagBase + BR_TagVarPar + 3400)
  556. RBRF_FileDate        EQU    (BR_TagBase + BR_TagVarPar + 3401)
  557. RBRF_Flags        EQU    (BR_TagBase + BR_TagVarPar + 3402)
  558. RBRF_NextFile        EQU    (BR_TagBase + BR_TagVarPar + 3403)
  559.  
  560.  
  561. *  Tags understood by SearchBRFile()
  562.  
  563. SBRF_SearchFAreaList    EQU    (BR_TagBase + BR_TagVarPar + 3500)
  564. SBRF_SearchFArea    EQU    (BR_TagBase + BR_TagVarPar + 3501)
  565. SBRF_SearchStr        EQU    (BR_TagBase + BR_TagString + 3502)
  566. SBRF_SearchName        EQU    (BR_TagBase                + 3503)
  567. SBRF_SearchAll        EQU    (BR_TagBase                + 3504)
  568. SBRF_NewerThan        EQU    (BR_TagBase                + 3505)
  569.  
  570.  
  571. *  Tags understood by several functions
  572.  
  573. BR_ProgressHook        EQU    (BR_TagBase + BR_TagVarPar + 3600)
  574. BR_ProgressUpdates    EQU    (BR_TagBase                + 3601)
  575. BRCFG_Use        EQU    (BR_TagBase                + 3602)
  576. BRCFG_LastSaved        EQU    (BR_TagBase                + 3603)
  577. BR_ProgressReturn    EQU    (BR_TagBase + BR_TagVarPar + 3604)
  578.  
  579.  
  580. * Tags understood by FindDupBRMsg()
  581.  
  582. FDBRM_DeleteDupInConf    EQU    (BR_TagBase                + 3700)
  583. FDBRM_UnMarkCrossPosts    EQU    (BR_TagBase                + 3701)
  584.  
  585.  
  586. * Tags understood by UniqueMsgFile()
  587.  
  588. UMF_Extension        EQU    (BR_TagBase + BR_TagString + 3800)
  589. UMF_UseTag        EQU    (BR_TagBase                + 3801)
  590. UMF_Event        EQU    (BR_TagBase                + 3802)
  591.  
  592.  
  593. * Tags understood by ExternalBBSConfig()
  594.  
  595. EBC_Conference        EQU    (BR_TagBase + BR_TagVarPar + 3900)
  596. EBC_PublicScreen    EQU    (BR_TagBase + BR_TagString + 3901)
  597.  
  598.  
  599. * Tags understood by PGPBREvents()
  600.  
  601. PGP_PublicScreen    EQU    (BR_TagBase + BR_TagString + 4000)
  602.  
  603.  
  604. * Tags understood by GetConfigValue()
  605.  
  606. GCV_GlobalConfig    EQU    (BR_TagBase + BR_TagVarPar + 4100)
  607. GCV_TypeListItem    EQU    (BR_TagBase + BR_TagVarPar + 4101)
  608. GCV_BBSListItem        EQU    (BR_TagBase + BR_TagVarPar + 4102)
  609. GCV_ConfListItem    EQU    (BR_TagBase + BR_TagVarPar + 4103)
  610. GCV_EventType        EQU    (BR_TagBase                + 4104)
  611. GCV_ConfQuoteType    EQU    (BR_TagBase + BR_TagVarPar + 4105)
  612. GCV_ConfQuoteChars    EQU    (BR_TagBase + BR_TagVarPar + 4106)        
  613. GCV_ConfQuoteReflow    EQU    (BR_TagBase + BR_TagVarPar + 4107)
  614. GCV_BBSQuoteType    EQU    (BR_TagBase + BR_TagVarPar + 4108)
  615. GCV_BBSQuoteChars    EQU    (BR_TagBase + BR_TagVarPar + 4109)
  616. GCV_BBSQuoteReflow    EQU    (BR_TagBase + BR_TagVarPar + 4110)
  617. GCV_ConfReplyString    EQU    (BR_TagBase + BR_TagVarPar + 4111)
  618. GCV_BBSReplyString    EQU    (BR_TagBase + BR_TagVarPar + 4112)
  619. GCV_ConfEnterScript    EQU    (BR_TagBase + BR_TagVarPar + 4113)
  620. GCV_ConfLeaveScript    EQU    (BR_TagBase + BR_TagVarPar + 4114)
  621. GCV_BBSEnterScript    EQU    (BR_TagBase + BR_TagVarPar + 4115)
  622. GCV_BBSLeaveScript    EQU    (BR_TagBase + BR_TagVarPar + 4116)
  623.  
  624.     ENDC  ;LIBRARIES_BBSREADTAGS_I
  625.